// 数据库模块

const mysql = require('mysql')
const config = require("./host")

const db = mysql.createPool({
    host: config.host,
    user: 'root',
    password: '123456',
    database: 'hua'
})

module.exports = db